package cn.jiyun.mapper;

import cn.jiyun.pojo.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface UserMapper extends Mapper<User> {
    @Select("select * from user where uname=#{uname} and password=#{password}")
    User findByNameAndPwd();
}
